import { createStore } from 'vuex'
import state from './state'
import actions from './actions'
import mutations from './mutations'
import getters from './getters'

import app from './modules/app'
import home from './modules/api/home'

const store = createStore({
  state,
  mutations,
  actions,
  getters,
  modules: {
    app,
    home
  }
})

export default store